import request from "@/utils/request";

// 查询订单详情照片列表
export function listBizOrderDetailsImage(query) {
  return request({
    url: "/biz/bizOrderDetailsImage/list",
    method: "get",
    params: query
  });
}

// 查询订单详情照片详细
export function getBizOrderDetailsImage(id) {
  return request({
    url: "/biz/bizOrderDetailsImage/" + id,
    method: "get"
  });
}

// 新增订单详情照片
export function addBizOrderDetailsImage(data) {
  return request({
    url: "/biz/bizOrderDetailsImage",
    method: "post",
    data: data
  });
}

// 修改订单详情照片
export function updateBizOrderDetailsImage(data) {
  return request({
    url: "/biz/bizOrderDetailsImage",
    method: "put",
    data: data
  });
}

// 删除订单详情照片
export function delBizOrderDetailsImage(id) {
  return request({
    url: "/biz/bizOrderDetailsImage/" + id,
    method: "delete"
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizOrderDetailsImage/findMaxSort",
    method: "get"
  });
}
// 导出订单详情照片
export function exportBizOrderDetailsImage(query) {
  return request({
    url: "/biz/bizOrderDetailsImage/export",
    method: "get",
    params: query
  });
}
